/** 
 * Copyright (C), 2010-2012, AIYOU Software Co.,Ltd. ALL RIGHTS RESERVED. 
 * File name:UserAttentionGroup.java
 * Version:1.0
 * Date:Dec 7, 2011
 * Description: 
 * author:whh
 */
package com.tietiao.service.userattentiongroup;

import java.util.List;

import com.tietiao.dao.model.UserAttentionGroup;
/**
 * 好友分组
 */
public interface UserAttentionGroupService {
	/**
	 * 功能：添加好友分组
	 * @author: whh
	 * @Date: 2011-12-07
	 *
	 * @return
	 */
	public int insertUserAttentionGroup(UserAttentionGroup group);
	
	/**
	 * 功能：删除好友分组 （好友分组应该非强关联???）
	 * @author: whh
	 * @Date: 2011-12-07
	 *
	 * @return
	 */
	public int deleteUserAttentionGroup(int id);
	/**
	 * 
	 * 功能：更改好友分组名、好友数量、保密级别
	 * @author: whh
	 * @Date: 2011-12-07
	 * @return
	 */
	public int updateUserAttentionGroup(UserAttentionGroup group);
	/**
	 * 
	 * 功能：获得某用户下的所有分组信息
	 * @author: whh
	 * @Date: 2011-12-07
	 *
	 * @return
	 */
	public List<UserAttentionGroup> getUserAttentionGroup(int userId);
}
